Link to this headingProxying
An easy-to-deploy virtual machine that can provide flexible man-in-the-middle capabilities.
Link to this headingSocks Proxy
Introducing resocks - An Encrypted Back-Connect SOCKS Proxy for Network Pivoting
Link to this headingProxying a single HTTP Connections
- Run burp
- Set Proxy settings on Browser
Firefox:
In Firefox select Preferences -> General | Network settings and add 127.0.0.1 and 8888 for the port.
Chrome:
Link to this headingProxying HTTP Connection to multiple endpoints with the same port without put setting up a proxy
- Setup a DNS Rebinding Attack using dnschef or your personal DNS rebinder.
good_zones:
>>> cat
- Set you DNS to localhost
>>> cat
# Generated by NetworkManager
- Setup Burp with Proxy on the specified endpoints. Proxy -> Options -> Proxy Listeners -> Add -> Set Bind to Port to the Port needed. Set Bind to address to the Specific Address as specified in the DNS endpoint. Go to Request handling and set the true IP address of the endpoint and the port in the Redirect to host and the Redirect to port respectively.
Link to this headingProxying TCP Connection to endpoint
Use step 1 and 2 from above
- Setup the Reverse TCP proxy.
>>> sudo
}
Link to this headingProxying TCP Connection to multiple endpoints on the same port
- Add another IP to an Ethernet address to the interface and add the route to be the same as the other IP address.
- Use DNS rebinding like in Proxying HTTP Connection to multiple endpoints with the same port without put setting up a proxy above.
>>> cat
generalzero.org=10.0.3.15
dev.generalzero.org=10.0.2.15
generalzero.org=fe80::e007:c0ad:d23:9ce8
dev.generalzero.org=fe80::b312:9a08:f148:e3ea
>>> sudo
Link to this headingSetting up DNS Rebinding with DNSChef
Link to this headingIntercept all responses
For IPV4:
For IPv4 and 6:
Link to this headingSingle DNS rebinding:
| Record | Description | Argument | Example |
|---|---|---|---|
| A | IPv4 address | --fakeip | --fakeip 192.0.2.1 |
| AAAA | IPv6 address | --fakeipv6 | --fakeipv6 2001:db8::1 |
| MX | Mail server | --fakemail | --fakemail mail.fake.com |
| CNAME | CNAME record | --fakealias | --fakealias www.fake.com |
| NS | Name server | --fakens | --fakens ns.fake.com |
Filtering domains:
Link to this headingExternal Definitions File
Example File:
Example Command:
Link to this headingProxying Client Authentication Connections
A simple SSL/TLS proxy with mutual authentication for securing non-TLS services.